<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>修改密码</title>
    <!-- 引入token.js -->
    <script src="/assets/js/token.js"></script>
    <!-- 引进layui.css -->
    <link rel="stylesheet" href="/assets/lib/layui/css/layui.css">
    <!-- 引进user-repwd.css -->
    <link rel="stylesheet" href="/assets/css/user/user-repwd.css">
</head>
<div class="layui-card">
    <div class="layui-card-header">修改密码</div>
    <div class="layui-card-body">
        <form class="layui-form" lay-filter="f1">
            <input type="hidden" name="id">
            <!-- 第一行 -->
            <div class="layui-form-item">

                <label class="layui-form-label">原密码</label>
                <div class="layui-input-block">
                    <input type="password" name="oldPwd" required lay-verify="required|len" placeholder="请输入原密码"
                        autocomplete="off" class="layui-input">
                </div>
                <!-- 第二行 -->
                <div class="layui-form-item">
                    <label class="layui-form-label">新密码</label>
                    <div class="layui-input-block">
                        <input type="password" name="newPwd" required lay-verify="required|len|diff" placeholder="请输入新密码"
                            autocomplete="off" class="layui-input">
                    </div>
                    <!-- 第三行 -->
                    <div class="layui-form-item">
                        <label class="layui-form-label">确认新密码</label>
                        <div class="layui-input-block">
                            <input type="password" id="repsw" required lay-verify="required|len|repwd"
                                placeholder="请输入确认新密码" autocomplete="off" class="layui-input">
                        </div>
                        <!-- 第四行 按钮 -->
                        <div class="layui-form-item">
                            <div class="layui-input-block">
                                <button class="layui-btn" lay-submit lay-filter="formDemo" id="alter">修改密码</button>
                                <button type="reset" id="reset" class="layui-btn layui-btn-primary">重置</button>
                            </div>
                        </div>
        </form>
    </div>
</div>

<body>
    <!-- 引进jquery -->
    <script src="/assets/lib/jquery.js"></script>
    <!-- 引进layui.js -->
    <script src="/assets/lib/layui/layui.all.js"></script>
    <!-- 引进baseAPI.js -->
    <script src="/assets/js/baseAPI.js"></script>
    <!-- 引进user-repwd.js -->
    <script src="/assets/js/user/user-repwd.js"></script>
</body>

</html>